<html>
<head>

<link rel="stylesheet" href="../../../../../../Styles/Default.css" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<p class="Decl"><b>function</b> TextHeight(<b>const</b> Text: <b>String</b>): 
  Integer;</p>
<p class="Decl"><b>function</b> TextHeightW(<b>const</b> Text: <b>Widestring</b>): Integer;</p>
<h2>Description</h2>
<p class="Body">Returns the height, in pixels, of a string rendered in the current 
  <a href="../Properties/Font.htm">Font</a>.</p>
<p class="Body">&nbsp;</p>
<p class="Body"><span class="Comment">Please note that the CLX versions of the non-Unicode methods do also default to Widestring
because that is the native QT string format. </span></p>
<p class="Body">&nbsp;</p>
<p id="hidden">[See also]: <a href="TextWidth.htm">TextWidth</a>, <a href="TextExtent.htm">TextExtent</a>, 
  <a href="TextOut.htm">TextOut</a>, <a href="RenderText.htm">RenderText</a></p>
</body>
</html>
